Free SSL Certificate for Synology NAS, Never Expires
Support Content
                    
## 1. Introduction
This video demonstrates how to automatically update Synology DSM with SSL certificates generated by the Docker version of acme.sh, which support auto-renewal and wildcard domain resolution, through command-line operations to achieve a solution for permanent certificate validity on Synology NAS.
Disclaimer: Released with DP_IT video, free to use, any commercial activities such as resale are prohibited. If someone sold this to you, please request a refund. Website: https://dpit.lib00.com
## 2. Resource Links Used in the Video
> 20250621 - Due to persistent link deletions on Baidu Pan, continuously replacing links is too time-consuming, so it will no longer be used. Thank you for understanding.
> Download addresses for various reference materials:
Quark Pan: https://pan.quark.cn/s/2d35843857f5
Xunlei Cloud: https://pan.xunlei.com/s/VOTGIhDd9LLMb7Q6rQSHheDzA1?pwd=y5gv
UC Pan: https://drive.uc.cn/s/bea51f6da8c64
Google drive: https://drive.google.com/drive/folders/12SNLFwTc5p_kP87_ZnDBQwpxKa_AGaq2
> github: https://github.com/016/lm802.2.33
## 3. Commands Used in the Video
### 3.1 Find Synology Certificate Replacement Location
> //1.
cd  /usr/syno/etc/certificate/_archive/
> //2.
ll                
            Summary Content
                    
# Free SSL Certificate for Synology NAS, Never Expires
 ## 📋 Video Overview
This comprehensive tutorial demonstrates how to implement automatic SSL certificate renewal and deployment on Synology NAS. By combining the ACME protocol with automation scripts, you can ensure your Synology NAS always has a valid HTTPS certificate without manual intervention. This practical guide is designed for users with basic technical knowledge who want to eliminate SSL certificate expiration concerns permanently.
---
## 🎯 Key Points
### Prerequisites
Before starting the configuration, you need to meet four essential requirements:
1. **SSH Command Line Basics**: Familiarity with Synology NAS SSH command-line operations
2. **Docker ACME Deployment**: A functioning Docker-based ACME setup that can automatically request and renew certificates
3. **Initial SSL Certificate Setup**: Third-party SSL certificate already configured in Synology NAS and associated with relevant services
4. **Automation Script**: Download the dedicated Shell script for certificate synchronization
### Essential Configuration Steps
**Step 1: Locate ACME Certificate Path**
- Find the ACME certificate storage location in Synology File Manager
- Right-click to view properties and copy the complete location path
- This path will be used by the script to read new certificates
**Step 2: Identify Synology Certificate Storage Directory**
- SSH into your Synology NAS and switch to root user
- Execute command: `cd /usr/syno/etc/certificate/_archive/`
- Use `ll` command to list directory contents
- Identify the newly created certificate directory by timestamp (newer date)
- Copy the randomly-named directory path
**Step 3: Modify the Automation Script**
The script requires modifications in three critical locations:
1. **ACME Certificate Path**: Insert the complete ACME certificate path from Step 1
2. **Synology Certificate Directory**: Insert the certificate storage directory path from Step 2
3. **Domain Name**: Replace the example domain (e.g., lib00.com) with your actual domain
**Step 4: Upload and Configure Script**
- Create a dedicated directory on Synology NAS (e.g., sys_need_keep/syno_ssl_renew)
- Upload the modified script file
- Right-click to view properties and copy the script's complete path
**Step 5: Create Scheduled Task**
- Open Control Panel → Task Scheduler
- Create → Scheduled Task → User-defined script
- User: root
- Schedule: Recommended weekly (e.g., every Monday at 3:00 AM)
- Paste the complete script path in Task Settings
- Save and enable the task
---
## 🔧 Technical Details
**Certificate Update Mechanism**
The script automatically performs the following operations:
1. Reads the latest certificate files from the ACME directory
2. Copies certificates to Synology's certificate storage directory
3. Restarts relevant Synology services to activate new certificates
4. Uses `nginx restart` command (note: cannot use `reload`)
**Important Considerations**
- Certificate update process briefly stops and restarts some Synology services
- Must use `nginx restart` instead of `nginx reload` - the latter doesn't activate new certificates
- Recommended to schedule tasks during low-traffic periods like early morning
---
## 💡 Use Cases
This solution is particularly suitable for:
- Synology users requiring long-term stable HTTPS services
- NAS systems with custom domains configured for external access
- Tech enthusiasts seeking certificate management automation
- Systems running multiple Synology applications requiring SSL certificates
---
## 🔗 Related Resources
Complete documentation and scripts mentioned in the video can be found by searching "SSL" on dpit.lib00.com, including detailed command-line instructions and downloadable example scripts.
---
## SEO Keywords
Synology NAS SSL certificate, ACME auto-renewal, Synology HTTPS setup, SSL certificate automation, Synology certificate management, Docker ACME, free SSL certificate, Let's Encrypt Synology, NAS security configuration, automated certificate deployment                
            Related Contents
View HDD SMART Info on Synolog...
Duration: 12:19 | DPCheck Real CPU Temperature via...
Duration: 08:06 | DPSynology 7.2 Jellyfin Upgrade ...
Duration: 13:06 | DPDocker Jellyfin Free SSL Certi...
Duration: 14:42 | DPDocker Nginx Free SSL Certific...
Duration: 16:17 | DPSynology NAS Quick DSM SSL Cer...
Duration: 10:50 | DPRecommended
                                                                            
                                    Synology Hyper Backup Guide fo...
11:38 | 5A guide to using Synology's Hyper Backup package, ...
                                                                            
                                    iKuai Enable IPv6 Internet Acc...
03:29 | 3ikuai OS can enable IPv6 internet support by follo...
                                                                            
                                    Sunshine+Moonlight+IPv4 Remote...
15:02 | 17Using Sunshine+Moonlight to implement a remote gam...
                                                                            
                                    Synology Moments to Photos Man...
10:33 | 4This video documents a tutorial on how to manually...